package org.ykhl.interfaces.commons;

import org.ykhl.model.RetInfo;

import java.util.Map;

/**
 * Created by ibm on 2016/10/12.
 */
public interface AdapterInterface {

    /**
     *
     * @param params (fid ,requestParam)
     * @return
     */
    public  String getHosMessage(Map<String, Object> params)throws  Exception;
    /**
     * 用于规则文件的转换实现
     * param.put("fid",fid);
     *param.put("oriMsgBody" ,oriMsgBody);
     * param.put("xslContent" ,xslContent);
     *param.put("key" ,key);
     * @param params
     * @return
     */
    public RetInfo trans(Map<String, Object> params)throws  Exception;

}
